portableSql

Ceiling Portable SQL Function

Syntax

Ceiling as N (Number as N)

Arguments

NumberNumeric

A numeric field or value.

Returns

resultNumeric

Returns the smallest integer great than or equal to the number.

Description

Returns the smallest integer that is greater than or equal to Number.

Discussion

The Ceiling function returns the smallest integer great than or equal to the number.

Ceiling() function executed on the Northwind Access database
SELECT FIRST 1 ceiling(23.4) AS EXPR1, ceiling(-13.2) AS EXPR2 FROM Products
 = 24|-13